import React, { useContext } from "react";

import useUserContext from "../hooks/index";

export default function CustomContextSahreHook() {
  //   const user = useContext(UserContext);
  //   const token = useContext(TokenContext);
  const [user, token] = useUserContext();

  console.log(user, token);
  return (
    <div>
      <h2>CustomContextSahreHook</h2>
    </div>
  );
}
